home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
programming
/
c
/
pmm
/
doku
/
libdoku
/
memlib.read.me
< prev
next >
Wrap
Text File
|
1999-06-14
|
579b
|
26 lines
To see MemLib in action, do the following:
1. Compile and link the example program:
sc example.c link
2. Run the example program:
example
Note that nothing seems to happen. The program has several bugs, but
they don't get caught!
3. Recompile, but this time enable memory debugging:
sc example.c link define MWDEBUG=1 lib memwatch.lib
4. Run the program again:
example
This time the MemWatch library caught the errors and told you
exactly where they occurred.
See the file "memlib.doc" for information on using memlib.